package com.tjetc.dao;

import com.tjetc.entity.OrderDetail;

import java.util.List;

/*
 * 订单详情
 * */
public interface OrderDetailMapper {
    //根据id查询订单详情列表
    List<OrderDetail> selectByOrderId(int orderId);

    //添加订单详情
    int addOrderDetail(OrderDetail orderDetail);

    //批量增加订单详情
    int addOrderDetailByList(List<OrderDetail> list);

    //订单id删除订单详情
    int deleteByOrderId(int orderId);

}
